﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication2
{
    class Cat
    {

        private String color;
        private String weight;
        private String age;

        public void SetColor(String color)
        {
            this.color = color;
        }

        public void SetWeight(String weight)
        {
            this.weight = weight;
        }

        public void SetAge(String age)
        {
            this.age = age;
        }

        public String Display()
        {
            return "颜色：" + color + "体重：" + weight + ",年龄：" + age;
        }

    }
}
